class Token {
  String access_token;
  int expires_in;
  String refresh_token;
  String scope;
  String token_type;

  Token({
    required this.access_token,
    required this.expires_in,
    required this.refresh_token,
    required this.scope,
    required this.token_type,
  });

  factory Token.fromJson(Map<String, dynamic> json) {
    return Token(
      access_token: json['access_token'],
      expires_in: json['expires_in'],
      refresh_token: json['refresh_token'],
      scope: json['scope'],
      token_type: json['token_type'],
    );
  }
}
